# -*- coding = utf-8 -*-
# @Time    : 2025/4/8 下午7:45
# @Author  : yqk
# @File    : 哔站点选验证码(开始).py
# @Software: PyCharm
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By

service = Service(executable_path='D:\python-code\chromedriver-win64\chromedriver.exe')
opt = Options()
opt.debugger_address = "127.0.0.1:8888"
def login():
    url = 'https://www.bilibili.com/'
    browser = webdriver.Chrome(service=service, options=opt)
    browser.get(url)
    pass
if __name__ == '__main__':
    login()